package net.xdclass.strategy;

import java.util.ArrayList;
import java.util.List;
import java.util.Random;

public class ShardingTableConfig {
	private static final List<String> list = new ArrayList<>();
	static {
		list.add("0");
		list.add("1");
		list.add("a");
	}
	public static String gettableSuffix(String url){
		int index = Math.abs(url.hashCode()) % list.size();
		return list.get(index);
	}
}
